package cn.sise.edu.crm.service;

import cn.sise.edu.crm.domain.Customer;
import cn.sise.edu.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by chen on 2019/11/3.
 */
public interface ICustomerService {
    void insert(Customer customer);

    void update(Customer customer);

    Customer selectById(Long id);

    List<Customer> selectAll();

    PageInfo<Customer> query(QueryObject queryObject);

    void updateByStatus(Customer customer);
}
